home *** CD-ROM | disk | FTP | other *** search
/ Aminet 16 / Aminet 16 (1996)(GTI - Schatztruhe)[!][Dec 1996].iso / Aminet / util / libs / shutdown.lzh / shutdown4.1 / src / smakefile < prev    next >
Makefile  |  1996-10-10  |  381b  |  20 lines

  1.  
  2. SHUTDOWN_OBJS = shutdown.o unmount.o
  3. INCLUDE = idir=shutdown_lib
  4. CFLAGS = error=all nocheckabort
  5. CC = sc
  6.  
  7. all: shutdown sdwarn
  8.  
  9. .c.o:
  10.           $(CC) $(CFLAGS) $(INCLUDE) $*.c TO $*.o
  11.  
  12. shutdown: $(SHUTDOWN_OBJS)
  13.           $(CC) LINK $(CFLAGS) $(SHUTDOWN_OBJS) TO shutdown
  14.  
  15. sdwarn:   sdwarn.c
  16.           $(CC) LINK $(CFLAGS) sdwarn.c TO sdwarn
  17.  
  18. clean:
  19.     delete \#?.o shutdown sdwarn
  20.